"""
@author: 江同学呀
@file: common.py
@date: 2025/1/7 23:41
@desc: 
"""
from typing import Union, Type

from espc.utils.enum_utils import EnumBase

Number: Type[Union[int, float]] = Union[int, float]

ASC: str = "asc"
DESC: str = "desc"


class Order(EnumBase):
    """
    排序类型
    """
    asc = ASC
    desc = DESC


class Unit(EnumBase):
    m = "m"
    cm = "cm"
    mm = "mm"
    km = "km"
    in_ = "in"
    yd = "yd"
    ft = "ft"
    mi = "mi"



